<%@ Page Language="VB" AutoEventWireup="false" Inherits="WebCompras.Paginas_Carga_Masiva_Productos" Codebehind="Carga_Masiva_Productos.aspx.vb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML>
	<HEAD>
		<title>Carga_Masiva_Productos</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<style type="text/css">BODY { BACKGROUND-COLOR: #ffffff  }
		</style>
		<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
		</script>
		<script language="javascript" src="../Scripts/FuncGeneral.js"></script>
		<script language="vbScript" src="../Scripts/estandar.vbs"></script>
		<script language="JavaScript" src="../Scripts/ts_picker.js"></script>
	</HEAD>
	<body topMargin="5" onload="MM_preloadImages('../botones/conciliacion_over.gif')"  >
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" cellSpacing="1"
				cellPadding="0" width="100%" align="center" border="0">
				<TR>
					<TD align="center">
						<TABLE id="Table5" style="WIDTH: 600px; HEIGHT: 38px" cellSpacing="0" cellPadding="0" width="600"
							border="0">
							<TR>
								<TD style="WIDTH: 240px" vAlign="middle" align="left"><asp:label id="Label4" runat="server" ForeColor="#002D9A" Width="490px" Font-Bold="True" Font-Names="Arial Narrow"
										Font-Size="Small">CARGA MASIVA MAESTRO INSUMOS</asp:label></TD>
								<TD vAlign="middle" align="left">
								</TD>
							</TR>
						</TABLE>
						<P></P>
						<P></P>
						<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="600" border="0">
							<TR>
								<TD style="WIDTH: 942px; HEIGHT: 8px" align="left"><asp:label id="Label2" runat="server" Width="136px" Font-Names="Verdana" Font-Size="8pt">Planilla Insumos (.xls)</asp:label></TD>
								<TD style="WIDTH: 49px; HEIGHT: 8px" colSpan="3"><INPUT id="MyFile" style="WIDTH: 459px; HEIGHT: 22px" type="file" size="57" name="MyFile"
										runat="server"></TD>
							</TR>
							<TR>
								<TD style="HEIGHT: 52px" vAlign="middle" align="center" colSpan="4"><A onmouseover="MM_swapImage('proceso','','../botones/boton_TRANSFERENCIA.png',1)" onmouseout="MM_swapImgRestore()"
										href="#"><asp:imagebutton id="proceso" runat="server" ImageUrl="../botones/boton_TRANSFERENCIA.png"></asp:imagebutton></A></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 911px; height: 64px;" align="left" colSpan="4"><asp:label id="Label5" runat="server" Width="192px" Font-Names="Verdana" Font-Size="8pt"> Resultados Proceso Planilla </asp:label><asp:textbox id="xglosa" onkeydown="vbscript:subkeyenter" onblur="miblur(this)" onfocus="mifocus(this)"
										runat="server" Width="400px" Font-Names="Verdana" Font-Size="8pt" BackColor="WhiteSmoke" BorderColor="Gainsboro" BorderStyle="Solid" BorderWidth="1px" ReadOnly="True" TextMode="MultiLine" Height="54px"></asp:textbox></TD>
							</TR>
                            <tr>
                                <td align="left" colspan="4" style="width: 911px; height: 28px;">
                                    <A onmouseover="MM_swapImage('excel','','../botones/boton_EXCEL.png',1)" onmouseout="MM_swapImgRestore()"
										href="#"><asp:imagebutton id="excel" runat="server" ImageUrl="../botones/boton_EXCEL.png"></asp:imagebutton></A></td>
                            </tr>
                            <tr>
                                <td align="center" colspan="4" height="22" style="width: 911px">
                                    <asp:DataGrid ID="grilla" runat="server" AllowCustomPaging="True" BackColor="White"
                                        BorderColor="#A4C2DB" BorderStyle="None" BorderWidth="1px" CellPadding="5" class="titgrillatd"
                                        Font-Names="Arial, Helvetica, sans-serif" Font-Size="11px" ForeColor="Black"
                                        HorizontalAlign="Left" PageSize="7" Width="525px">
                                        <FooterStyle BorderColor="#A4C2DB" BorderStyle="Groove" Font-Bold="False" Font-Italic="False"
                                            Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Left" />
                                        <EditItemStyle BackColor="White" BorderColor="#A4C2DB" Font-Size="11px" HorizontalAlign="Left" />
                                        <SelectedItemStyle BackColor="White" BorderColor="#A4C2DB" Font-Bold="True" Font-Size="11px" />
                                        <PagerStyle BackColor="White" BorderColor="#A4C2DB" Font-Size="11px" />
                                        <AlternatingItemStyle BackColor="#E6E3E3" BorderColor="#A4C2DB" BorderStyle="Solid"
                                            BorderWidth="1px" Font-Names="Arial,Helvetica,sans-serif" Font-Size="11px" HorizontalAlign="Left" />
                                        <ItemStyle BorderColor="#A4C2DB" Font-Names="Arial,Helvetica,sans-serif" Font-Size="11px"
                                            ForeColor="#3B3C3C" HorizontalAlign="Left" />
                                        <HeaderStyle BackColor="#6B9CD1" BorderColor="#A4C2DB" BorderStyle="Solid" BorderWidth="1px"
                                            Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" ForeColor="White" HorizontalAlign="Center" />
                                    </asp:DataGrid></td>
                            </tr>
						</TABLE>
						<P></P>
						<P>&nbsp;</P>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
